module.exports = function(sequelize, DataTypes) {
  const signinrecord = sequelize.define('signinrecord', {
    status: DataTypes.STRING(100),
    time: DataTypes.DATE
  })
  signinrecord.associate = (models) => {
    signinrecord.belongsTo(models.student, {
      as: 'student'
    })
  }
  return signinrecord
}
